package com.cyt.work.question.service;


import com.cyt.sys.service.BaseService;
import com.cyt.work.question.model.po.QuestionSubjectSelect;
import com.cyt.work.question.model.vo.QuestionSubjectSelectVo;

import java.util.List;

/**
 * 问卷题目选项表 service接口
 *
 * @author concong tao
 * @since 2019-01-31
 */
public interface IQuestionSubjectSelectService extends BaseService<QuestionSubjectSelect> {

    /**
     * 批量保存
     */
    int insertList(List<QuestionSubjectSelect> list);

    /**
     * 根据条件查询
     * @param questionSubjectSelectVo
     * @author congcong tao
     * @date 2019/7/11 9:19
     */
    List<QuestionSubjectSelect> acceptList(QuestionSubjectSelectVo questionSubjectSelectVo);

    /**
     * 获取每个答案的回答总数
     * @param questionSubjectSelectVo
     * @author congcong tao
     * @date 2019/8/21 15:27
     */
    List<QuestionSubjectSelect> selectEntityList(QuestionSubjectSelectVo questionSubjectSelectVo);
}
